#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
@author: zhangZW
@file: start_client.py
@time: 2023/03/01
@des: description
"""

import sys, os
remote_path = os.path.dirname(os.path.dirname(__file__))
sys.path.insert(0, remote_path)
from config import client_port


def start():
    sel_server_path = os.path.join(remote_path,'lib/selenium-server-4.5.2.jar')
    command = f"java -jar {sel_server_path} standalone --port {client_port}"
    os.system(command)



if __name__ == '__main__':
    start()
